package com.zshan.clinic.database.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class MedicalFieldExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private Integer limit;

    private Integer offset;

    public MedicalFieldExample() {
        oredCriteria = new ArrayList<>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setOffset(Integer offset) {
        this.offset = offset;
    }

    public Integer getOffset() {
        return offset;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andFieldIdIsNull() {
            addCriterion("field_id is null");
            return (Criteria) this;
        }

        public Criteria andFieldIdIsNotNull() {
            addCriterion("field_id is not null");
            return (Criteria) this;
        }

        public Criteria andFieldIdEqualTo(Long value) {
            addCriterion("field_id =", value, "fieldId");
            return (Criteria) this;
        }

        public Criteria andFieldIdNotEqualTo(Long value) {
            addCriterion("field_id <>", value, "fieldId");
            return (Criteria) this;
        }

        public Criteria andFieldIdGreaterThan(Long value) {
            addCriterion("field_id >", value, "fieldId");
            return (Criteria) this;
        }

        public Criteria andFieldIdGreaterThanOrEqualTo(Long value) {
            addCriterion("field_id >=", value, "fieldId");
            return (Criteria) this;
        }

        public Criteria andFieldIdLessThan(Long value) {
            addCriterion("field_id <", value, "fieldId");
            return (Criteria) this;
        }

        public Criteria andFieldIdLessThanOrEqualTo(Long value) {
            addCriterion("field_id <=", value, "fieldId");
            return (Criteria) this;
        }

        public Criteria andFieldIdIn(List<Long> values) {
            addCriterion("field_id in", values, "fieldId");
            return (Criteria) this;
        }

        public Criteria andFieldIdNotIn(List<Long> values) {
            addCriterion("field_id not in", values, "fieldId");
            return (Criteria) this;
        }

        public Criteria andFieldIdBetween(Long value1, Long value2) {
            addCriterion("field_id between", value1, value2, "fieldId");
            return (Criteria) this;
        }

        public Criteria andFieldIdNotBetween(Long value1, Long value2) {
            addCriterion("field_id not between", value1, value2, "fieldId");
            return (Criteria) this;
        }

        public Criteria andFieldNameIsNull() {
            addCriterion("field_name is null");
            return (Criteria) this;
        }

        public Criteria andFieldNameIsNotNull() {
            addCriterion("field_name is not null");
            return (Criteria) this;
        }

        public Criteria andFieldNameEqualTo(String value) {
            addCriterion("field_name =", value, "fieldName");
            return (Criteria) this;
        }

        public Criteria andFieldNameNotEqualTo(String value) {
            addCriterion("field_name <>", value, "fieldName");
            return (Criteria) this;
        }

        public Criteria andFieldNameGreaterThan(String value) {
            addCriterion("field_name >", value, "fieldName");
            return (Criteria) this;
        }

        public Criteria andFieldNameGreaterThanOrEqualTo(String value) {
            addCriterion("field_name >=", value, "fieldName");
            return (Criteria) this;
        }

        public Criteria andFieldNameLessThan(String value) {
            addCriterion("field_name <", value, "fieldName");
            return (Criteria) this;
        }

        public Criteria andFieldNameLessThanOrEqualTo(String value) {
            addCriterion("field_name <=", value, "fieldName");
            return (Criteria) this;
        }

        public Criteria andFieldNameLike(String value) {
            addCriterion("field_name like", value, "fieldName");
            return (Criteria) this;
        }

        public Criteria andFieldNameNotLike(String value) {
            addCriterion("field_name not like", value, "fieldName");
            return (Criteria) this;
        }

        public Criteria andFieldNameIn(List<String> values) {
            addCriterion("field_name in", values, "fieldName");
            return (Criteria) this;
        }

        public Criteria andFieldNameNotIn(List<String> values) {
            addCriterion("field_name not in", values, "fieldName");
            return (Criteria) this;
        }

        public Criteria andFieldNameBetween(String value1, String value2) {
            addCriterion("field_name between", value1, value2, "fieldName");
            return (Criteria) this;
        }

        public Criteria andFieldNameNotBetween(String value1, String value2) {
            addCriterion("field_name not between", value1, value2, "fieldName");
            return (Criteria) this;
        }

        public Criteria andFieldCodeIsNull() {
            addCriterion("field_code is null");
            return (Criteria) this;
        }

        public Criteria andFieldCodeIsNotNull() {
            addCriterion("field_code is not null");
            return (Criteria) this;
        }

        public Criteria andFieldCodeEqualTo(String value) {
            addCriterion("field_code =", value, "fieldCode");
            return (Criteria) this;
        }

        public Criteria andFieldCodeNotEqualTo(String value) {
            addCriterion("field_code <>", value, "fieldCode");
            return (Criteria) this;
        }

        public Criteria andFieldCodeGreaterThan(String value) {
            addCriterion("field_code >", value, "fieldCode");
            return (Criteria) this;
        }

        public Criteria andFieldCodeGreaterThanOrEqualTo(String value) {
            addCriterion("field_code >=", value, "fieldCode");
            return (Criteria) this;
        }

        public Criteria andFieldCodeLessThan(String value) {
            addCriterion("field_code <", value, "fieldCode");
            return (Criteria) this;
        }

        public Criteria andFieldCodeLessThanOrEqualTo(String value) {
            addCriterion("field_code <=", value, "fieldCode");
            return (Criteria) this;
        }

        public Criteria andFieldCodeLike(String value) {
            addCriterion("field_code like", value, "fieldCode");
            return (Criteria) this;
        }

        public Criteria andFieldCodeNotLike(String value) {
            addCriterion("field_code not like", value, "fieldCode");
            return (Criteria) this;
        }

        public Criteria andFieldCodeIn(List<String> values) {
            addCriterion("field_code in", values, "fieldCode");
            return (Criteria) this;
        }

        public Criteria andFieldCodeNotIn(List<String> values) {
            addCriterion("field_code not in", values, "fieldCode");
            return (Criteria) this;
        }

        public Criteria andFieldCodeBetween(String value1, String value2) {
            addCriterion("field_code between", value1, value2, "fieldCode");
            return (Criteria) this;
        }

        public Criteria andFieldCodeNotBetween(String value1, String value2) {
            addCriterion("field_code not between", value1, value2, "fieldCode");
            return (Criteria) this;
        }

        public Criteria andFieldTypeIsNull() {
            addCriterion("field_type is null");
            return (Criteria) this;
        }

        public Criteria andFieldTypeIsNotNull() {
            addCriterion("field_type is not null");
            return (Criteria) this;
        }

        public Criteria andFieldTypeEqualTo(String value) {
            addCriterion("field_type =", value, "fieldType");
            return (Criteria) this;
        }

        public Criteria andFieldTypeNotEqualTo(String value) {
            addCriterion("field_type <>", value, "fieldType");
            return (Criteria) this;
        }

        public Criteria andFieldTypeGreaterThan(String value) {
            addCriterion("field_type >", value, "fieldType");
            return (Criteria) this;
        }

        public Criteria andFieldTypeGreaterThanOrEqualTo(String value) {
            addCriterion("field_type >=", value, "fieldType");
            return (Criteria) this;
        }

        public Criteria andFieldTypeLessThan(String value) {
            addCriterion("field_type <", value, "fieldType");
            return (Criteria) this;
        }

        public Criteria andFieldTypeLessThanOrEqualTo(String value) {
            addCriterion("field_type <=", value, "fieldType");
            return (Criteria) this;
        }

        public Criteria andFieldTypeLike(String value) {
            addCriterion("field_type like", value, "fieldType");
            return (Criteria) this;
        }

        public Criteria andFieldTypeNotLike(String value) {
            addCriterion("field_type not like", value, "fieldType");
            return (Criteria) this;
        }

        public Criteria andFieldTypeIn(List<String> values) {
            addCriterion("field_type in", values, "fieldType");
            return (Criteria) this;
        }

        public Criteria andFieldTypeNotIn(List<String> values) {
            addCriterion("field_type not in", values, "fieldType");
            return (Criteria) this;
        }

        public Criteria andFieldTypeBetween(String value1, String value2) {
            addCriterion("field_type between", value1, value2, "fieldType");
            return (Criteria) this;
        }

        public Criteria andFieldTypeNotBetween(String value1, String value2) {
            addCriterion("field_type not between", value1, value2, "fieldType");
            return (Criteria) this;
        }

        public Criteria andFieldScopeIsNull() {
            addCriterion("field_scope is null");
            return (Criteria) this;
        }

        public Criteria andFieldScopeIsNotNull() {
            addCriterion("field_scope is not null");
            return (Criteria) this;
        }

        public Criteria andFieldScopeEqualTo(String value) {
            addCriterion("field_scope =", value, "fieldScope");
            return (Criteria) this;
        }

        public Criteria andFieldScopeNotEqualTo(String value) {
            addCriterion("field_scope <>", value, "fieldScope");
            return (Criteria) this;
        }

        public Criteria andFieldScopeGreaterThan(String value) {
            addCriterion("field_scope >", value, "fieldScope");
            return (Criteria) this;
        }

        public Criteria andFieldScopeGreaterThanOrEqualTo(String value) {
            addCriterion("field_scope >=", value, "fieldScope");
            return (Criteria) this;
        }

        public Criteria andFieldScopeLessThan(String value) {
            addCriterion("field_scope <", value, "fieldScope");
            return (Criteria) this;
        }

        public Criteria andFieldScopeLessThanOrEqualTo(String value) {
            addCriterion("field_scope <=", value, "fieldScope");
            return (Criteria) this;
        }

        public Criteria andFieldScopeLike(String value) {
            addCriterion("field_scope like", value, "fieldScope");
            return (Criteria) this;
        }

        public Criteria andFieldScopeNotLike(String value) {
            addCriterion("field_scope not like", value, "fieldScope");
            return (Criteria) this;
        }

        public Criteria andFieldScopeIn(List<String> values) {
            addCriterion("field_scope in", values, "fieldScope");
            return (Criteria) this;
        }

        public Criteria andFieldScopeNotIn(List<String> values) {
            addCriterion("field_scope not in", values, "fieldScope");
            return (Criteria) this;
        }

        public Criteria andFieldScopeBetween(String value1, String value2) {
            addCriterion("field_scope between", value1, value2, "fieldScope");
            return (Criteria) this;
        }

        public Criteria andFieldScopeNotBetween(String value1, String value2) {
            addCriterion("field_scope not between", value1, value2, "fieldScope");
            return (Criteria) this;
        }

        public Criteria andFieldStyleIsNull() {
            addCriterion("field_style is null");
            return (Criteria) this;
        }

        public Criteria andFieldStyleIsNotNull() {
            addCriterion("field_style is not null");
            return (Criteria) this;
        }

        public Criteria andFieldStyleEqualTo(String value) {
            addCriterion("field_style =", value, "fieldStyle");
            return (Criteria) this;
        }

        public Criteria andFieldStyleNotEqualTo(String value) {
            addCriterion("field_style <>", value, "fieldStyle");
            return (Criteria) this;
        }

        public Criteria andFieldStyleGreaterThan(String value) {
            addCriterion("field_style >", value, "fieldStyle");
            return (Criteria) this;
        }

        public Criteria andFieldStyleGreaterThanOrEqualTo(String value) {
            addCriterion("field_style >=", value, "fieldStyle");
            return (Criteria) this;
        }

        public Criteria andFieldStyleLessThan(String value) {
            addCriterion("field_style <", value, "fieldStyle");
            return (Criteria) this;
        }

        public Criteria andFieldStyleLessThanOrEqualTo(String value) {
            addCriterion("field_style <=", value, "fieldStyle");
            return (Criteria) this;
        }

        public Criteria andFieldStyleLike(String value) {
            addCriterion("field_style like", value, "fieldStyle");
            return (Criteria) this;
        }

        public Criteria andFieldStyleNotLike(String value) {
            addCriterion("field_style not like", value, "fieldStyle");
            return (Criteria) this;
        }

        public Criteria andFieldStyleIn(List<String> values) {
            addCriterion("field_style in", values, "fieldStyle");
            return (Criteria) this;
        }

        public Criteria andFieldStyleNotIn(List<String> values) {
            addCriterion("field_style not in", values, "fieldStyle");
            return (Criteria) this;
        }

        public Criteria andFieldStyleBetween(String value1, String value2) {
            addCriterion("field_style between", value1, value2, "fieldStyle");
            return (Criteria) this;
        }

        public Criteria andFieldStyleNotBetween(String value1, String value2) {
            addCriterion("field_style not between", value1, value2, "fieldStyle");
            return (Criteria) this;
        }

        public Criteria andIsRequiredIsNull() {
            addCriterion("is_required is null");
            return (Criteria) this;
        }

        public Criteria andIsRequiredIsNotNull() {
            addCriterion("is_required is not null");
            return (Criteria) this;
        }

        public Criteria andIsRequiredEqualTo(String value) {
            addCriterion("is_required =", value, "isRequired");
            return (Criteria) this;
        }

        public Criteria andIsRequiredNotEqualTo(String value) {
            addCriterion("is_required <>", value, "isRequired");
            return (Criteria) this;
        }

        public Criteria andIsRequiredGreaterThan(String value) {
            addCriterion("is_required >", value, "isRequired");
            return (Criteria) this;
        }

        public Criteria andIsRequiredGreaterThanOrEqualTo(String value) {
            addCriterion("is_required >=", value, "isRequired");
            return (Criteria) this;
        }

        public Criteria andIsRequiredLessThan(String value) {
            addCriterion("is_required <", value, "isRequired");
            return (Criteria) this;
        }

        public Criteria andIsRequiredLessThanOrEqualTo(String value) {
            addCriterion("is_required <=", value, "isRequired");
            return (Criteria) this;
        }

        public Criteria andIsRequiredLike(String value) {
            addCriterion("is_required like", value, "isRequired");
            return (Criteria) this;
        }

        public Criteria andIsRequiredNotLike(String value) {
            addCriterion("is_required not like", value, "isRequired");
            return (Criteria) this;
        }

        public Criteria andIsRequiredIn(List<String> values) {
            addCriterion("is_required in", values, "isRequired");
            return (Criteria) this;
        }

        public Criteria andIsRequiredNotIn(List<String> values) {
            addCriterion("is_required not in", values, "isRequired");
            return (Criteria) this;
        }

        public Criteria andIsRequiredBetween(String value1, String value2) {
            addCriterion("is_required between", value1, value2, "isRequired");
            return (Criteria) this;
        }

        public Criteria andIsRequiredNotBetween(String value1, String value2) {
            addCriterion("is_required not between", value1, value2, "isRequired");
            return (Criteria) this;
        }

        public Criteria andIsRecomIsNull() {
            addCriterion("is_recom is null");
            return (Criteria) this;
        }

        public Criteria andIsRecomIsNotNull() {
            addCriterion("is_recom is not null");
            return (Criteria) this;
        }

        public Criteria andIsRecomEqualTo(String value) {
            addCriterion("is_recom =", value, "isRecom");
            return (Criteria) this;
        }

        public Criteria andIsRecomNotEqualTo(String value) {
            addCriterion("is_recom <>", value, "isRecom");
            return (Criteria) this;
        }

        public Criteria andIsRecomGreaterThan(String value) {
            addCriterion("is_recom >", value, "isRecom");
            return (Criteria) this;
        }

        public Criteria andIsRecomGreaterThanOrEqualTo(String value) {
            addCriterion("is_recom >=", value, "isRecom");
            return (Criteria) this;
        }

        public Criteria andIsRecomLessThan(String value) {
            addCriterion("is_recom <", value, "isRecom");
            return (Criteria) this;
        }

        public Criteria andIsRecomLessThanOrEqualTo(String value) {
            addCriterion("is_recom <=", value, "isRecom");
            return (Criteria) this;
        }

        public Criteria andIsRecomLike(String value) {
            addCriterion("is_recom like", value, "isRecom");
            return (Criteria) this;
        }

        public Criteria andIsRecomNotLike(String value) {
            addCriterion("is_recom not like", value, "isRecom");
            return (Criteria) this;
        }

        public Criteria andIsRecomIn(List<String> values) {
            addCriterion("is_recom in", values, "isRecom");
            return (Criteria) this;
        }

        public Criteria andIsRecomNotIn(List<String> values) {
            addCriterion("is_recom not in", values, "isRecom");
            return (Criteria) this;
        }

        public Criteria andIsRecomBetween(String value1, String value2) {
            addCriterion("is_recom between", value1, value2, "isRecom");
            return (Criteria) this;
        }

        public Criteria andIsRecomNotBetween(String value1, String value2) {
            addCriterion("is_recom not between", value1, value2, "isRecom");
            return (Criteria) this;
        }

        public Criteria andIsVoiceIsNull() {
            addCriterion("is_voice is null");
            return (Criteria) this;
        }

        public Criteria andIsVoiceIsNotNull() {
            addCriterion("is_voice is not null");
            return (Criteria) this;
        }

        public Criteria andIsVoiceEqualTo(String value) {
            addCriterion("is_voice =", value, "isVoice");
            return (Criteria) this;
        }

        public Criteria andIsVoiceNotEqualTo(String value) {
            addCriterion("is_voice <>", value, "isVoice");
            return (Criteria) this;
        }

        public Criteria andIsVoiceGreaterThan(String value) {
            addCriterion("is_voice >", value, "isVoice");
            return (Criteria) this;
        }

        public Criteria andIsVoiceGreaterThanOrEqualTo(String value) {
            addCriterion("is_voice >=", value, "isVoice");
            return (Criteria) this;
        }

        public Criteria andIsVoiceLessThan(String value) {
            addCriterion("is_voice <", value, "isVoice");
            return (Criteria) this;
        }

        public Criteria andIsVoiceLessThanOrEqualTo(String value) {
            addCriterion("is_voice <=", value, "isVoice");
            return (Criteria) this;
        }

        public Criteria andIsVoiceLike(String value) {
            addCriterion("is_voice like", value, "isVoice");
            return (Criteria) this;
        }

        public Criteria andIsVoiceNotLike(String value) {
            addCriterion("is_voice not like", value, "isVoice");
            return (Criteria) this;
        }

        public Criteria andIsVoiceIn(List<String> values) {
            addCriterion("is_voice in", values, "isVoice");
            return (Criteria) this;
        }

        public Criteria andIsVoiceNotIn(List<String> values) {
            addCriterion("is_voice not in", values, "isVoice");
            return (Criteria) this;
        }

        public Criteria andIsVoiceBetween(String value1, String value2) {
            addCriterion("is_voice between", value1, value2, "isVoice");
            return (Criteria) this;
        }

        public Criteria andIsVoiceNotBetween(String value1, String value2) {
            addCriterion("is_voice not between", value1, value2, "isVoice");
            return (Criteria) this;
        }

        public Criteria andIsImageIsNull() {
            addCriterion("is_image is null");
            return (Criteria) this;
        }

        public Criteria andIsImageIsNotNull() {
            addCriterion("is_image is not null");
            return (Criteria) this;
        }

        public Criteria andIsImageEqualTo(String value) {
            addCriterion("is_image =", value, "isImage");
            return (Criteria) this;
        }

        public Criteria andIsImageNotEqualTo(String value) {
            addCriterion("is_image <>", value, "isImage");
            return (Criteria) this;
        }

        public Criteria andIsImageGreaterThan(String value) {
            addCriterion("is_image >", value, "isImage");
            return (Criteria) this;
        }

        public Criteria andIsImageGreaterThanOrEqualTo(String value) {
            addCriterion("is_image >=", value, "isImage");
            return (Criteria) this;
        }

        public Criteria andIsImageLessThan(String value) {
            addCriterion("is_image <", value, "isImage");
            return (Criteria) this;
        }

        public Criteria andIsImageLessThanOrEqualTo(String value) {
            addCriterion("is_image <=", value, "isImage");
            return (Criteria) this;
        }

        public Criteria andIsImageLike(String value) {
            addCriterion("is_image like", value, "isImage");
            return (Criteria) this;
        }

        public Criteria andIsImageNotLike(String value) {
            addCriterion("is_image not like", value, "isImage");
            return (Criteria) this;
        }

        public Criteria andIsImageIn(List<String> values) {
            addCriterion("is_image in", values, "isImage");
            return (Criteria) this;
        }

        public Criteria andIsImageNotIn(List<String> values) {
            addCriterion("is_image not in", values, "isImage");
            return (Criteria) this;
        }

        public Criteria andIsImageBetween(String value1, String value2) {
            addCriterion("is_image between", value1, value2, "isImage");
            return (Criteria) this;
        }

        public Criteria andIsImageNotBetween(String value1, String value2) {
            addCriterion("is_image not between", value1, value2, "isImage");
            return (Criteria) this;
        }

        public Criteria andIsPulseIsNull() {
            addCriterion("is_pulse is null");
            return (Criteria) this;
        }

        public Criteria andIsPulseIsNotNull() {
            addCriterion("is_pulse is not null");
            return (Criteria) this;
        }

        public Criteria andIsPulseEqualTo(String value) {
            addCriterion("is_pulse =", value, "isPulse");
            return (Criteria) this;
        }

        public Criteria andIsPulseNotEqualTo(String value) {
            addCriterion("is_pulse <>", value, "isPulse");
            return (Criteria) this;
        }

        public Criteria andIsPulseGreaterThan(String value) {
            addCriterion("is_pulse >", value, "isPulse");
            return (Criteria) this;
        }

        public Criteria andIsPulseGreaterThanOrEqualTo(String value) {
            addCriterion("is_pulse >=", value, "isPulse");
            return (Criteria) this;
        }

        public Criteria andIsPulseLessThan(String value) {
            addCriterion("is_pulse <", value, "isPulse");
            return (Criteria) this;
        }

        public Criteria andIsPulseLessThanOrEqualTo(String value) {
            addCriterion("is_pulse <=", value, "isPulse");
            return (Criteria) this;
        }

        public Criteria andIsPulseLike(String value) {
            addCriterion("is_pulse like", value, "isPulse");
            return (Criteria) this;
        }

        public Criteria andIsPulseNotLike(String value) {
            addCriterion("is_pulse not like", value, "isPulse");
            return (Criteria) this;
        }

        public Criteria andIsPulseIn(List<String> values) {
            addCriterion("is_pulse in", values, "isPulse");
            return (Criteria) this;
        }

        public Criteria andIsPulseNotIn(List<String> values) {
            addCriterion("is_pulse not in", values, "isPulse");
            return (Criteria) this;
        }

        public Criteria andIsPulseBetween(String value1, String value2) {
            addCriterion("is_pulse between", value1, value2, "isPulse");
            return (Criteria) this;
        }

        public Criteria andIsPulseNotBetween(String value1, String value2) {
            addCriterion("is_pulse not between", value1, value2, "isPulse");
            return (Criteria) this;
        }

        public Criteria andIsCycleIsNull() {
            addCriterion("is_cycle is null");
            return (Criteria) this;
        }

        public Criteria andIsCycleIsNotNull() {
            addCriterion("is_cycle is not null");
            return (Criteria) this;
        }

        public Criteria andIsCycleEqualTo(String value) {
            addCriterion("is_cycle =", value, "isCycle");
            return (Criteria) this;
        }

        public Criteria andIsCycleNotEqualTo(String value) {
            addCriterion("is_cycle <>", value, "isCycle");
            return (Criteria) this;
        }

        public Criteria andIsCycleGreaterThan(String value) {
            addCriterion("is_cycle >", value, "isCycle");
            return (Criteria) this;
        }

        public Criteria andIsCycleGreaterThanOrEqualTo(String value) {
            addCriterion("is_cycle >=", value, "isCycle");
            return (Criteria) this;
        }

        public Criteria andIsCycleLessThan(String value) {
            addCriterion("is_cycle <", value, "isCycle");
            return (Criteria) this;
        }

        public Criteria andIsCycleLessThanOrEqualTo(String value) {
            addCriterion("is_cycle <=", value, "isCycle");
            return (Criteria) this;
        }

        public Criteria andIsCycleLike(String value) {
            addCriterion("is_cycle like", value, "isCycle");
            return (Criteria) this;
        }

        public Criteria andIsCycleNotLike(String value) {
            addCriterion("is_cycle not like", value, "isCycle");
            return (Criteria) this;
        }

        public Criteria andIsCycleIn(List<String> values) {
            addCriterion("is_cycle in", values, "isCycle");
            return (Criteria) this;
        }

        public Criteria andIsCycleNotIn(List<String> values) {
            addCriterion("is_cycle not in", values, "isCycle");
            return (Criteria) this;
        }

        public Criteria andIsCycleBetween(String value1, String value2) {
            addCriterion("is_cycle between", value1, value2, "isCycle");
            return (Criteria) this;
        }

        public Criteria andIsCycleNotBetween(String value1, String value2) {
            addCriterion("is_cycle not between", value1, value2, "isCycle");
            return (Criteria) this;
        }

        public Criteria andIsDefaultIsNull() {
            addCriterion("is_default is null");
            return (Criteria) this;
        }

        public Criteria andIsDefaultIsNotNull() {
            addCriterion("is_default is not null");
            return (Criteria) this;
        }

        public Criteria andIsDefaultEqualTo(String value) {
            addCriterion("is_default =", value, "isDefault");
            return (Criteria) this;
        }

        public Criteria andIsDefaultNotEqualTo(String value) {
            addCriterion("is_default <>", value, "isDefault");
            return (Criteria) this;
        }

        public Criteria andIsDefaultGreaterThan(String value) {
            addCriterion("is_default >", value, "isDefault");
            return (Criteria) this;
        }

        public Criteria andIsDefaultGreaterThanOrEqualTo(String value) {
            addCriterion("is_default >=", value, "isDefault");
            return (Criteria) this;
        }

        public Criteria andIsDefaultLessThan(String value) {
            addCriterion("is_default <", value, "isDefault");
            return (Criteria) this;
        }

        public Criteria andIsDefaultLessThanOrEqualTo(String value) {
            addCriterion("is_default <=", value, "isDefault");
            return (Criteria) this;
        }

        public Criteria andIsDefaultLike(String value) {
            addCriterion("is_default like", value, "isDefault");
            return (Criteria) this;
        }

        public Criteria andIsDefaultNotLike(String value) {
            addCriterion("is_default not like", value, "isDefault");
            return (Criteria) this;
        }

        public Criteria andIsDefaultIn(List<String> values) {
            addCriterion("is_default in", values, "isDefault");
            return (Criteria) this;
        }

        public Criteria andIsDefaultNotIn(List<String> values) {
            addCriterion("is_default not in", values, "isDefault");
            return (Criteria) this;
        }

        public Criteria andIsDefaultBetween(String value1, String value2) {
            addCriterion("is_default between", value1, value2, "isDefault");
            return (Criteria) this;
        }

        public Criteria andIsDefaultNotBetween(String value1, String value2) {
            addCriterion("is_default not between", value1, value2, "isDefault");
            return (Criteria) this;
        }

        public Criteria andIsPrefixIsNull() {
            addCriterion("is_prefix is null");
            return (Criteria) this;
        }

        public Criteria andIsPrefixIsNotNull() {
            addCriterion("is_prefix is not null");
            return (Criteria) this;
        }

        public Criteria andIsPrefixEqualTo(String value) {
            addCriterion("is_prefix =", value, "isPrefix");
            return (Criteria) this;
        }

        public Criteria andIsPrefixNotEqualTo(String value) {
            addCriterion("is_prefix <>", value, "isPrefix");
            return (Criteria) this;
        }

        public Criteria andIsPrefixGreaterThan(String value) {
            addCriterion("is_prefix >", value, "isPrefix");
            return (Criteria) this;
        }

        public Criteria andIsPrefixGreaterThanOrEqualTo(String value) {
            addCriterion("is_prefix >=", value, "isPrefix");
            return (Criteria) this;
        }

        public Criteria andIsPrefixLessThan(String value) {
            addCriterion("is_prefix <", value, "isPrefix");
            return (Criteria) this;
        }

        public Criteria andIsPrefixLessThanOrEqualTo(String value) {
            addCriterion("is_prefix <=", value, "isPrefix");
            return (Criteria) this;
        }

        public Criteria andIsPrefixLike(String value) {
            addCriterion("is_prefix like", value, "isPrefix");
            return (Criteria) this;
        }

        public Criteria andIsPrefixNotLike(String value) {
            addCriterion("is_prefix not like", value, "isPrefix");
            return (Criteria) this;
        }

        public Criteria andIsPrefixIn(List<String> values) {
            addCriterion("is_prefix in", values, "isPrefix");
            return (Criteria) this;
        }

        public Criteria andIsPrefixNotIn(List<String> values) {
            addCriterion("is_prefix not in", values, "isPrefix");
            return (Criteria) this;
        }

        public Criteria andIsPrefixBetween(String value1, String value2) {
            addCriterion("is_prefix between", value1, value2, "isPrefix");
            return (Criteria) this;
        }

        public Criteria andIsPrefixNotBetween(String value1, String value2) {
            addCriterion("is_prefix not between", value1, value2, "isPrefix");
            return (Criteria) this;
        }

        public Criteria andSortNumIsNull() {
            addCriterion("sort_num is null");
            return (Criteria) this;
        }

        public Criteria andSortNumIsNotNull() {
            addCriterion("sort_num is not null");
            return (Criteria) this;
        }

        public Criteria andSortNumEqualTo(Integer value) {
            addCriterion("sort_num =", value, "sortNum");
            return (Criteria) this;
        }

        public Criteria andSortNumNotEqualTo(Integer value) {
            addCriterion("sort_num <>", value, "sortNum");
            return (Criteria) this;
        }

        public Criteria andSortNumGreaterThan(Integer value) {
            addCriterion("sort_num >", value, "sortNum");
            return (Criteria) this;
        }

        public Criteria andSortNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("sort_num >=", value, "sortNum");
            return (Criteria) this;
        }

        public Criteria andSortNumLessThan(Integer value) {
            addCriterion("sort_num <", value, "sortNum");
            return (Criteria) this;
        }

        public Criteria andSortNumLessThanOrEqualTo(Integer value) {
            addCriterion("sort_num <=", value, "sortNum");
            return (Criteria) this;
        }

        public Criteria andSortNumIn(List<Integer> values) {
            addCriterion("sort_num in", values, "sortNum");
            return (Criteria) this;
        }

        public Criteria andSortNumNotIn(List<Integer> values) {
            addCriterion("sort_num not in", values, "sortNum");
            return (Criteria) this;
        }

        public Criteria andSortNumBetween(Integer value1, Integer value2) {
            addCriterion("sort_num between", value1, value2, "sortNum");
            return (Criteria) this;
        }

        public Criteria andSortNumNotBetween(Integer value1, Integer value2) {
            addCriterion("sort_num not between", value1, value2, "sortNum");
            return (Criteria) this;
        }

        public Criteria andIsEnabledIsNull() {
            addCriterion("is_enabled is null");
            return (Criteria) this;
        }

        public Criteria andIsEnabledIsNotNull() {
            addCriterion("is_enabled is not null");
            return (Criteria) this;
        }

        public Criteria andIsEnabledEqualTo(String value) {
            addCriterion("is_enabled =", value, "isEnabled");
            return (Criteria) this;
        }

        public Criteria andIsEnabledNotEqualTo(String value) {
            addCriterion("is_enabled <>", value, "isEnabled");
            return (Criteria) this;
        }

        public Criteria andIsEnabledGreaterThan(String value) {
            addCriterion("is_enabled >", value, "isEnabled");
            return (Criteria) this;
        }

        public Criteria andIsEnabledGreaterThanOrEqualTo(String value) {
            addCriterion("is_enabled >=", value, "isEnabled");
            return (Criteria) this;
        }

        public Criteria andIsEnabledLessThan(String value) {
            addCriterion("is_enabled <", value, "isEnabled");
            return (Criteria) this;
        }

        public Criteria andIsEnabledLessThanOrEqualTo(String value) {
            addCriterion("is_enabled <=", value, "isEnabled");
            return (Criteria) this;
        }

        public Criteria andIsEnabledLike(String value) {
            addCriterion("is_enabled like", value, "isEnabled");
            return (Criteria) this;
        }

        public Criteria andIsEnabledNotLike(String value) {
            addCriterion("is_enabled not like", value, "isEnabled");
            return (Criteria) this;
        }

        public Criteria andIsEnabledIn(List<String> values) {
            addCriterion("is_enabled in", values, "isEnabled");
            return (Criteria) this;
        }

        public Criteria andIsEnabledNotIn(List<String> values) {
            addCriterion("is_enabled not in", values, "isEnabled");
            return (Criteria) this;
        }

        public Criteria andIsEnabledBetween(String value1, String value2) {
            addCriterion("is_enabled between", value1, value2, "isEnabled");
            return (Criteria) this;
        }

        public Criteria andIsEnabledNotBetween(String value1, String value2) {
            addCriterion("is_enabled not between", value1, value2, "isEnabled");
            return (Criteria) this;
        }

        public Criteria andIsDeleteIsNull() {
            addCriterion("is_delete is null");
            return (Criteria) this;
        }

        public Criteria andIsDeleteIsNotNull() {
            addCriterion("is_delete is not null");
            return (Criteria) this;
        }

        public Criteria andIsDeleteEqualTo(String value) {
            addCriterion("is_delete =", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteNotEqualTo(String value) {
            addCriterion("is_delete <>", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteGreaterThan(String value) {
            addCriterion("is_delete >", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteGreaterThanOrEqualTo(String value) {
            addCriterion("is_delete >=", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteLessThan(String value) {
            addCriterion("is_delete <", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteLessThanOrEqualTo(String value) {
            addCriterion("is_delete <=", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteLike(String value) {
            addCriterion("is_delete like", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteNotLike(String value) {
            addCriterion("is_delete not like", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteIn(List<String> values) {
            addCriterion("is_delete in", values, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteNotIn(List<String> values) {
            addCriterion("is_delete not in", values, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteBetween(String value1, String value2) {
            addCriterion("is_delete between", value1, value2, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteNotBetween(String value1, String value2) {
            addCriterion("is_delete not between", value1, value2, "isDelete");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdIsNull() {
            addCriterion("create_user_id is null");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdIsNotNull() {
            addCriterion("create_user_id is not null");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdEqualTo(Long value) {
            addCriterion("create_user_id =", value, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdNotEqualTo(Long value) {
            addCriterion("create_user_id <>", value, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdGreaterThan(Long value) {
            addCriterion("create_user_id >", value, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdGreaterThanOrEqualTo(Long value) {
            addCriterion("create_user_id >=", value, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdLessThan(Long value) {
            addCriterion("create_user_id <", value, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdLessThanOrEqualTo(Long value) {
            addCriterion("create_user_id <=", value, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdIn(List<Long> values) {
            addCriterion("create_user_id in", values, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdNotIn(List<Long> values) {
            addCriterion("create_user_id not in", values, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdBetween(Long value1, Long value2) {
            addCriterion("create_user_id between", value1, value2, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdNotBetween(Long value1, Long value2) {
            addCriterion("create_user_id not between", value1, value2, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateByIsNull() {
            addCriterion("create_by is null");
            return (Criteria) this;
        }

        public Criteria andCreateByIsNotNull() {
            addCriterion("create_by is not null");
            return (Criteria) this;
        }

        public Criteria andCreateByEqualTo(String value) {
            addCriterion("create_by =", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotEqualTo(String value) {
            addCriterion("create_by <>", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByGreaterThan(String value) {
            addCriterion("create_by >", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByGreaterThanOrEqualTo(String value) {
            addCriterion("create_by >=", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByLessThan(String value) {
            addCriterion("create_by <", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByLessThanOrEqualTo(String value) {
            addCriterion("create_by <=", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByLike(String value) {
            addCriterion("create_by like", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotLike(String value) {
            addCriterion("create_by not like", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByIn(List<String> values) {
            addCriterion("create_by in", values, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotIn(List<String> values) {
            addCriterion("create_by not in", values, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByBetween(String value1, String value2) {
            addCriterion("create_by between", value1, value2, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotBetween(String value1, String value2) {
            addCriterion("create_by not between", value1, value2, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdIsNull() {
            addCriterion("update_user_id is null");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdIsNotNull() {
            addCriterion("update_user_id is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdEqualTo(Long value) {
            addCriterion("update_user_id =", value, "updateUserId");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdNotEqualTo(Long value) {
            addCriterion("update_user_id <>", value, "updateUserId");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdGreaterThan(Long value) {
            addCriterion("update_user_id >", value, "updateUserId");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdGreaterThanOrEqualTo(Long value) {
            addCriterion("update_user_id >=", value, "updateUserId");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdLessThan(Long value) {
            addCriterion("update_user_id <", value, "updateUserId");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdLessThanOrEqualTo(Long value) {
            addCriterion("update_user_id <=", value, "updateUserId");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdIn(List<Long> values) {
            addCriterion("update_user_id in", values, "updateUserId");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdNotIn(List<Long> values) {
            addCriterion("update_user_id not in", values, "updateUserId");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdBetween(Long value1, Long value2) {
            addCriterion("update_user_id between", value1, value2, "updateUserId");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdNotBetween(Long value1, Long value2) {
            addCriterion("update_user_id not between", value1, value2, "updateUserId");
            return (Criteria) this;
        }

        public Criteria andUpdateByIsNull() {
            addCriterion("update_by is null");
            return (Criteria) this;
        }

        public Criteria andUpdateByIsNotNull() {
            addCriterion("update_by is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateByEqualTo(String value) {
            addCriterion("update_by =", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotEqualTo(String value) {
            addCriterion("update_by <>", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByGreaterThan(String value) {
            addCriterion("update_by >", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByGreaterThanOrEqualTo(String value) {
            addCriterion("update_by >=", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByLessThan(String value) {
            addCriterion("update_by <", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByLessThanOrEqualTo(String value) {
            addCriterion("update_by <=", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByLike(String value) {
            addCriterion("update_by like", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotLike(String value) {
            addCriterion("update_by not like", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByIn(List<String> values) {
            addCriterion("update_by in", values, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotIn(List<String> values) {
            addCriterion("update_by not in", values, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByBetween(String value1, String value2) {
            addCriterion("update_by between", value1, value2, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotBetween(String value1, String value2) {
            addCriterion("update_by not between", value1, value2, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andFieldNameLikeInsensitive(String value) {
            addCriterion("upper(field_name) like", value.toUpperCase(), "fieldName");
            return (Criteria) this;
        }

        public Criteria andFieldCodeLikeInsensitive(String value) {
            addCriterion("upper(field_code) like", value.toUpperCase(), "fieldCode");
            return (Criteria) this;
        }

        public Criteria andFieldTypeLikeInsensitive(String value) {
            addCriterion("upper(field_type) like", value.toUpperCase(), "fieldType");
            return (Criteria) this;
        }

        public Criteria andFieldScopeLikeInsensitive(String value) {
            addCriterion("upper(field_scope) like", value.toUpperCase(), "fieldScope");
            return (Criteria) this;
        }

        public Criteria andFieldStyleLikeInsensitive(String value) {
            addCriterion("upper(field_style) like", value.toUpperCase(), "fieldStyle");
            return (Criteria) this;
        }

        public Criteria andIsRequiredLikeInsensitive(String value) {
            addCriterion("upper(is_required) like", value.toUpperCase(), "isRequired");
            return (Criteria) this;
        }

        public Criteria andIsRecomLikeInsensitive(String value) {
            addCriterion("upper(is_recom) like", value.toUpperCase(), "isRecom");
            return (Criteria) this;
        }

        public Criteria andIsVoiceLikeInsensitive(String value) {
            addCriterion("upper(is_voice) like", value.toUpperCase(), "isVoice");
            return (Criteria) this;
        }

        public Criteria andIsImageLikeInsensitive(String value) {
            addCriterion("upper(is_image) like", value.toUpperCase(), "isImage");
            return (Criteria) this;
        }

        public Criteria andIsPulseLikeInsensitive(String value) {
            addCriterion("upper(is_pulse) like", value.toUpperCase(), "isPulse");
            return (Criteria) this;
        }

        public Criteria andIsCycleLikeInsensitive(String value) {
            addCriterion("upper(is_cycle) like", value.toUpperCase(), "isCycle");
            return (Criteria) this;
        }

        public Criteria andIsDefaultLikeInsensitive(String value) {
            addCriterion("upper(is_default) like", value.toUpperCase(), "isDefault");
            return (Criteria) this;
        }

        public Criteria andIsPrefixLikeInsensitive(String value) {
            addCriterion("upper(is_prefix) like", value.toUpperCase(), "isPrefix");
            return (Criteria) this;
        }

        public Criteria andIsEnabledLikeInsensitive(String value) {
            addCriterion("upper(is_enabled) like", value.toUpperCase(), "isEnabled");
            return (Criteria) this;
        }

        public Criteria andIsDeleteLikeInsensitive(String value) {
            addCriterion("upper(is_delete) like", value.toUpperCase(), "isDelete");
            return (Criteria) this;
        }

        public Criteria andCreateByLikeInsensitive(String value) {
            addCriterion("upper(create_by) like", value.toUpperCase(), "createBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByLikeInsensitive(String value) {
            addCriterion("upper(update_by) like", value.toUpperCase(), "updateBy");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {
        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}